package org.gruposp2p.aularest.model;

import java.util.Collection;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author jj
 */
@XmlRootElement(name = "courses")
@XmlType
public class Courses {

    private Collection<Course>  courseCollection;

    /**
     * @return the courseCollection
     */
    @XmlElement(name="course")
    public Collection<Course> getCourseCollection() {
        return courseCollection;
    }

    /**
     * @param courseCollection the absenceCollection to set
     */
    public void setCourseCollection(
            Collection<Course> courseCollection) {
        this.courseCollection = courseCollection;
    }

}
